﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Derbster.Domain;

namespace Derbster.Data
{
    public interface IDerbsterContext : IDisposable
    {
        IDbSet<Match> Matches { get; }
        IDbSet<League> Leagues { get; }
        IDbSet<Official> Officials { get; }
        IDbSet<Roster> Rosters { get; }
        IDbSet<Skater> Skaters { get; }
        IDbSet<Team> Teams { get;  }
        
        int SaveChanges();
    }
}
